deprecate gtk_type_class().
authorMichael Natterer <mitch@imendio.com>
Wed, 18 Jun 2008 07:00:46 +0000 (07:00 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 18 Jun 2008 07:00:46 +0000 (07:00 +0000)
commit73800758fd3914e182da139e58364d36d9bf7ed4
tree56003a626f422176513e9e57f2aa971c1f03033d
parent78c88e77d6c284e063e8a9ee7ea7c974b14f05dd
deprecate gtk_type_class().

2008-06-18  Michael Natterer  <mitch@imendio.com>

* gtk/gtktypeutils.[ch]: deprecate gtk_type_class().

* gtk/gtk.symbols: changed accordingly.

* gtk/gtksettings.c (gtk_settings_install_property)
(gtk_settings_install_property_parser): get rid of using
gtk_type_class() by keeping a static reference to GtkSettingsClass
around in both functions and passing that pointer on to
settings_install_property_parser().

* tests/testgtk.c: use g_type_class_ref()/unref() instead of
gtk_type_class().

* gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
gtktypeutils.h.

svn path=/trunk/; revision=20444
ChangeLog
gtk/gtk.symbols
gtk/gtkobject.c
gtk/gtksettings.c
gtk/gtktypeutils.c
gtk/gtktypeutils.h
tests/testgtk.c